             <?php
				if(empty($_SESSION['user']))
				{
				        $form=<<<GATA
						   <form method = POST action = "manage_login.php">
							<div id="login_2">
								<input id="submit" type = "submit" value = "Intra in cont" >
							</div>
							<div id="login">
								&nbsp;&nbsp;Email&nbsp;:&nbsp;<input id="text" type = "text" name = "mail">
								<br />Parola&nbsp;:&nbsp;<input id="text" type = "password" name = "pass">
							</div>					
							
						   </form>
GATA;
	                    echo $form;					
				}else
				{
					echo "<div id=\"login_3\">";
					echo "<b>Esti logat ca:&nbsp&nbsp</b>".$_SESSION['user']."&nbsp&nbsp&nbsp&nbsp<a href=\"logout.php\">Logout</a>"; 
					echo "</div>";
				}
			 ?>